// 自动生成模板AllVersions
package device

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// allVersions表 结构体  AllVersions
type AllVersions struct {
	global.GVA_MODEL
	EquipmentModel      *string `json:"equipmentModel" form:"equipmentModel" gorm:"comment:设备型号;column:equipment_model;size:255;"`                                                  //设备型号
	Version             *string `json:"version" form:"version" gorm:"comment:版本号;column:version;size:255;"`                                                                         //版本号
	ApplicationSoftware *string `json:"applicationSoftware" form:"applicationSoftware" gorm:"comment:应用软件;column:application_software;size:255;"`                                   //应用软件
	SystemControl       *string `json:"systemControl" form:"systemControl" gorm:"comment:系统控制;column:system_control;size:255;"`                                                     //系统控制
	UpgradeRequirements *string `json:"upgradeRequirements" form:"upgradeRequirements" gorm:"comment:升级要求（1-强制升级 2-选择升级）;column:upgrade_requirements;size:255;" binding:"required"` //升级要求（1-强制升级 2-选择升级）
	ReleaseNote         *string `json:"releaseNote" form:"releaseNote" gorm:"comment:版本说明;column:release_note;size:255;"`                                                           //版本说明
	VersionPackage      *string `json:"versionPackage" form:"versionPackage" gorm:"comment:版本包;column:version_package;size:255;"`                                                   //版本包
}

// TableName allVersions表 AllVersions自定义表名 all_versions
func (AllVersions) TableName() string {
	return "all_versions"
}
